package org.autumn.lock;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.concurrent.ArrayBlockingQueue;

public class DoubleLock {

    // 用于查看字节码
    public static Object LOCK = new Object();
    public static void main(String[] args) {
        synchronized (LOCK){
            method1();
        }
    }

    private static void method1() {
        synchronized (LOCK){

        }
    }
}
